.bg {
    height: 100vh;
    background: #fff;
    position: relative;
    overflow: hidden;
    @include columnTop;
}

.main {
    @include columnTop;
    flex: 1;
    width: 100%;
    height: 100%;

    .slide-round {
        flex: 3;
        @include center;
        position: relative;
        width: 100%;
        .tempeartue {
            @include columnCenter;
            color: #000;

        }

    }

    .circle {
        width: 298px;
        height: 298px;
        border-radius: 50%;
        background: #17BB8A;
        @include columnCenter;

        .title {
            flex: 0 0 10%;
            font-size: 20px;
            color: rgba(255, 255, 255, 1);
        }

        .data-value {
            flex: 0 0 30%;
            font-size: 110px;
            font-weight: normal;
            color: rgba(255, 255, 255, 1);
        }

        .quality {
            font-size: 24px;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            flex: 0 0 10%;
        }
    }
}

.slide-control {
    z-index: 111;
    @include absCenter;
    width: 100%;
    @include center;
}

.air-mode {
    position: absolute;
    right: -60px;
    font-size: 24px;
    bottom: 10px;
    color: #161616;
}


.temp-value {
    font-size: 120px;
    font-weight: 600;
    position: relative;

    &::after {
        content: '℃';
        position: absolute;
        right: -38px;
        font-size: 44px;
        ;
        color: #161616;

    }

}

.display-info {
    position: relative;
    @include columnCenter;
}

.air-speed {
    flex: 1;
    display: flex;
    justify-content: space-around;
    font-size: 24px;
    color: #7E7E7E;
}

.speed-item {
    display: flex;
    align-items: center;
    padding: 0 .1rem;

    img {
        padding: 0 10px;
    }
}

.state-control {
    width: 100%;
    display: flex;
    flex: 1;
    padding: 0 .65rem;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: center;
}

.state-item {
    width: 133px;
    height: 133px;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    @include columnCenter;
    box-shadow: 0px 9px 21px 6px rgba(46, 79, 69, 0.08);
    border-radius: 15px;
    color: #7E7E7E;

    .state-name {
        font-weight: 500;
    }

    .state-icon {
        margin-bottom: 20px;
        width: 42px;
        height: 42px;
        background-size: cover;
        transition: 2s cubic-bezier(.5,.01,.26,.98);
        transform:rotate(0deg);
        transform-origin: center center;
       
    }

    &.ice {
        .state-icon {
            background-image: url('./img/ice.png') 
        }
    }

    &.auto {
        .state-icon {
            background-image: url('./img/auto.png')
        }
    }

    &.humidity {

        .state-icon {
            background-image: url('./img/humidity.png')
        }
    }

    &.supply {
        .state-icon {
            background-image: url('./img/supply.png')
        }
    }
}

.mode-active {
    color: #fff;
    background: #17BB8A;
    box-shadow: 0px 9px 21px 6px rgba(18, 187, 137, 0.269);
    &.ice {
        .state-icon {
            background-image: url('./img/ice-active.png')
        }
    }

    &.auto {
        .state-icon {
            background-image: url('./img/auto-active.png')
        }
    }

    &.humidity {

        .state-icon {
            background-image: url('./img/humidity-active.png')
        }
    }

    &.supply {
        .state-icon {
            background-image: url('./img/supply-active.png')
        }
    }
}
.progress-wrapper{
    flex: 1;
    width: 100%;
    padding: 0 .65rem;
    box-sizing: border-box;
    @include center;
}
.progress {
    width: 534px;
    margin: 0 10px;
    -webkit-appearance: none;
    height: 9px;
    border-radius: 10px; 
    background: -webkit-linear-gradient(#17BB8A, #17BB8A) #CBCBCB no-repeat;
    &:focus {
        outline: none;
    }

    &::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 50px;
        width: 50px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #ddd;
        box-shadow:0px 9px 21px 6px rgba(46,79,69,0.08);

    }
   
}
.temp-control{
    width: 100%;
    padding: 0 .65rem;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .air-power{
        @include center;        
        width:120px;
        height:68px;
        background:#17bb8a;
        border-radius:10px;
    }
    .air-temp{
        width:186px;
        height:68px;
        @include center;
        background:#17bb8a;
        border-radius:10px;
        &:active{
            background: #129971;
        }
    }
}
.power-icon{
    width: 30px;
    height: 30px;
}
.add-icon{
    width: 30px;
    height: 30px;
    @include bg-image('./img/add');
}
.minus-icon{
    width: 30px;
    height: 2px;
    @include bg-image('./img/minus');

}
.bottom-control{
    width: 100%;
    box-sizing: border-box;
    padding: 0 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1.3;
}
.bottom-item{
    width:133px;
    height:88px;
    font-size:20px;
    font-weight:500;
    color:#7e7e7e;
    background:#fff;
    box-shadow:0px 9px 21px 6px rgba(46,79,69,0.08);
    border-radius:15px;
    @include columnCenter;
}
.bottom-control-item-icon{
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
}
.dir{
    .bottom-control-item-icon{
        @include bg-image('./img/dir');
    }
}
.clock{
    .bottom-control-item-icon{
        @include bg-image('./img/clock');
        
    }
    transition: background .2s linear;
    &.on{
        background: #17bb8a;
    }
}
.more{
    .bottom-control-item-icon{
        @include bg-image('./img/more');

        
    }
}
.bottom-menu-mark{
    display: none;
    position: absolute;
    z-index: 150;
    width: 100vw;
    height: 100vh;
    background: rgba(129, 129, 129, 0.4)
}

.menu{
    width: 100%;
    height: 338px;
    box-sizing: border-box;
    position: absolute;
    transform: translate3d(0, 100%, 0);
    bottom: 0;
    z-index: 200;
    transition: all .2s cubic-bezier(.01,.72,.53,1);
    border-top-left-radius: 30px;
    .items {
        border-bottom: 10px solid #eee;
        background-color: #fff;
        width: 100%;

        li {
            height: 80px;
            font-size: 36px;
            line-height:80px;
            position: relative;
            padding-left: 26px;
            margin-left: 15px;
            border-bottom: 1px solid #e4e4e4;
            &:last-child {
                border: none;
            }
            &:before {
                content: '';
                display: block;
                width: 16px;
                height: 16px;
                position: absolute;
                top: 50%;
                left: 1px;
                -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
                background-size: cover;
            }
            &.title{
                padding-left: 0;
                margin-left: 15px;
                &::before{
                    content: '';
                    display: none;
                }
                &::after{
                    content: '';
                    display: none;
                }
            }
        }
        
        .address {
            &:before {
                background-image: url('./img/clock.png');
            }
        }
        .money {
            &:before {
                background-image: url('./img/clock.png');
            }
        }
        .email {
            &:before {
                background-image: url('./img/clock.png');
            }
        }
        .question {
            &:before {
                background-image: url('./img/clock.png');
            }
        }
    }
}
.hide-menu{
    display: none;
}
.air-power{
    transition: background .2s linear;
    &.on{
        background: #17bb8a;
        .power-icon{
            @include bg-image('./img/power');
        }
    }
    &.off{
        background: #fff;
        box-shadow: 0 0.09rem 0.21rem 0.06rem rgba(46, 79, 69, 0.08);
        .power-icon{
            background-image: url('./img/power-off.png')
        }
    }
}
